<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>文件上传</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
     <link rel="stylesheet" type="text/css" href="styles.css">
     -->
<script type="text/javascript">
	function upload() {
		document.getElementById("exportForm").submit();
	}
	function createCode() {
		var code = document.getElementById("textCode").value;
		location.href = "/qRecodeDecoderServlet.do?codes="+code;
	}
</script>
</head>

<body bgcolor="#CFCFCF"
	background="http://l.bst.126.net/pub/design/2532711840460076534.jpg">
	<div style="height: 200xp; padding-top: 100px; text-align: center;">
		<a href="http://blog.csdn.net/zhaokuo719" target="_blank">趙闊的Blog</a>

	</div>
	<div style="text-align: center; padding-top: 200px;">
		<span style="color: red;"><textarea id=textCode
				name="textCode" cols="50" rows="3"
				style="color: red; background-color: #CFCFCF;">只能支持xls(Excel 2003)格式,此项目是采用了maven构建 </textarea><a
			style="cursor: pointer;" onclick="createCode();">生成二维码</a>
		</span><br />
		<br />
		<form action="/importExcelServlet.do" method="post" name="exportForm"
			id="exportForm" enctype="multipart/form-data">
			选择文件:<input type="file" name="fileupload"><br>
			<br> <input type="button" name="up" id="up" onclick="upload();"
				value="导入">
		</form>
	</div>
	<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=275669668&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:275669668 :45" alt="点击这里给我发消息" title="点击这里给我发消息">302564209</a><br>
	
	<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=275669668&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:275669668:48" alt="点击这里给我发消息" title="点击这里给我发消息"></a>
</body>
</html>